package com.lyk.swap.orm;

import java.util.Set;

/**
 * Product entity. @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -953076274644726208L;
	private String code;
	private Set<Trade> trades;
	private Set<Future> futures;
	private Set<Price> prices;

	// Constructors

	/** default constructor */
	public Product() {
	}

	/** full constructor */
	public Product(String code, Set<Trade> trades, Set<Future> futures,
			Set<Price> prices) {
		this.code = code;
		this.trades = trades;
		this.futures = futures;
		this.prices = prices;
	}

	// Property accessors

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Set<Trade> getTrades() {
		return trades;
	}

	public void setTrades(Set<Trade> trades) {
		this.trades = trades;
	}

	public Set<Future> getFutures() {
		return futures;
	}

	public void setFutures(Set<Future> futures) {
		this.futures = futures;
	}

	public Set<Price> getPrices() {
		return prices;
	}

	public void setPrices(Set<Price> prices) {
		this.prices = prices;
	}

}